import request from '@/utils/request'

//获取园区管理
export function getEquipmentList(id) {
  return request({
    url: '/dictionary/listTree?type=' + id,
    method: 'get',
  })
}

export function savedic(data) {
  return request({
    url: '/dictionary/save',
    method: 'POST',
    data: data
  })
}


export function getUserList(data) {
  return request({
    url: '/user/queryUserList',
    method: 'get',
    data: data
  })
}

export function getUserPageList(data) {
  return request({
    url: '/user/list',
    method: 'get',
    params: data
  })
}




export function getEnterpriseList(data) {
  return request({
    url: '/park/enterprise/queryEnterprise',
    method: 'POST',
    data: data
  })
}
//资产列表 /park/queryProperty
export function getAssetsList(data) {
  return request({
    url: '/park/park/queryProperty',
    method: 'POST',
    data: data
  })
}
//添加资产
export function addAssets(data) {
  return request({
    url: '/park/park/addProperty',
    method: 'POST',
    data: data
  })
}